package com.gome.ocean.server.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.gome.ocean.dao.datax.DatasourceDAO;
import com.gome.ocean.dao.model.datasource.DatasourceBO;
import com.gome.ocean.server.service.IDatasourceService;

/**
 * @author zhangguoqing 2017年2月28日 下午3:22:17
 * @since 5.0.0
 */
@Service("iDatasourceServiceImplImpl")
@Transactional("transactionManager")
public class DatasourceServiceImpl implements IDatasourceService {

    @Autowired
    private DatasourceDAO datasourceDao;

    @Override
    public DatasourceBO findDatasourceBOById(Long id) {
        return datasourceDao.findDatasourceBOById(id);
    }
}
